package jy.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;



public class UserAction extends BaseAction {
   
	/**
	 * 验证用户所属等级，如果为系统管理员，转入admin.jsp页面，
	 * 如果为操作员，转入operator.jsp页面，如果为客户转入customer.jsp
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward validate(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		    return null;
		
	}
	
	/**查看单个用户的详细信息
	 * 
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward userQuery(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		    return null;
		
	}
	
	
	/**修改某个用户的信息
	 * 
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward userModify (ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		    return null;
		
	}
	
	
	
	
	/**添加某个用户的信息
	 * 
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward userAdd (ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		    return null;
		
	}
	
	
	/**查看所有用户的信息
	 * 
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	public ActionForward usersQuery (ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		    return null;
		
	}
}
